package com.bjsxt.mapper;

import com.bjsxt.pojo.Admin;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AdminMapper {
    @Select("select * from t_admin where aname=#{param1} and apwd=#{param2}")
    Admin selectOneAdmin(String aname,String apwd);

    @Select("select * from t_admin")
    List<Admin> selectAllAdmin();
}
